# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>

pkgname=libiptcdata
pkgver=1.0.5
pkgrel=1
pkgdesc="Library for manipulating the IPTC metadata"
arch=('loong64' 'x86_64')
url="http://libiptcdata.sourceforge.net/"
license=('GPL')
depends=('glibc')
source=(https://github.com/ianw/libiptcdata/releases/download/release_${pkgver//./_}/libiptcdata-$pkgver.tar.gz)
sha512sums=('64ef44b1e639890004f31d5d42844ba25ed558f0a118f1dad9bc3f4dcad2457e51b825a13df849659b0e15afc78f528f330b03be94cdf156bd95b62dc419494a')

build() {
  cd $pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
